<html>
    <head>
        <title><g:layoutTitle default="Grails" /></title>
        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
        <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" />
        <g:layoutHead />
        <g:javascript library="prototype" />
        <gui:resources components="tabView"/>
    </head>
    <body class="yui-skin-sam">
    	<div id="grailsLogo" class="logo"><a href="http://www.antzcamp.com"><img src="${resource(dir:'images',file:'logo.jpg')}" alt="Grails" border="0" /></a></div>
        <div id="spinner" class="spinner" style="display:none;">
            <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
        </div>
        <br/>
        <g:if test="${session.authKey}">
        <!--<div id="welcomelink">
        Welcome ${session.loginid} &nbsp; 
        </div>-->
        
        <div id="navlink">
        Welcome ${session.loginid} &nbsp;
        <g:if test="${session.systempath}">
        >>&nbsp;<g:link class="home" controller="system" action="main">System</g:link>&nbsp;
        </g:if>
        <g:if test="${session.enterprisepath}">
        >>&nbsp;<g:link class="home" id="${session.enterpriseid}" controller="enterprise" action="main">Enterprise</g:link>&nbsp;
        </g:if>
        <g:if test="${session.orgpath}">
        >>&nbsp;<g:link class="home" id="${session.orgid}" controller="organization" action="main">Organization</g:link>&nbsp;
        </g:if>
        <g:if test="${session.officepath}">
        >>&nbsp;<g:link class="home" id="${session.officeid}" controller="office" action="main">Office</g:link>&nbsp;
        </g:if>
        </div>
        <div id="mainlink">
        <a href="http://www.antzcamp.com" class="message">help</a> &nbsp; 
        <g:link class="logout" controller="login" action="logout">logout</g:link>
        </div>
        <br/>
        <br/>
        </g:if>
        
        <g:layoutBody />
    </body>
</html>